package com.laf.service.impl;

import com.laf.mapper.ApplyMapper;
import com.laf.model.Apply;
import com.laf.service.ApplyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author: He Changjie  on  2018-10-02
 * @description:
 */
@Service("applyService")
public class ApplyServiceImpl implements ApplyService {

    @Resource
    ApplyMapper mapper;

    @Override
    public List<Apply> findAll() {
        return mapper.findAll();
    }

    @Override
    public int save(Apply apply) {
        return mapper.save(apply);
    }
}
